package com.lean.demo.config.mapper;

import com.lean.demo.entity.Area;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

public interface AreaMapper {
    List<Area> queryAreas();
    Area queryAreaById(Integer id);
    int insertArea(Area area);
    int updateArea(Area area);
    int deleteAreaById(int id);
}
